package com.xuln.framework.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class EntityKeySequences implements Serializable {
	private static final long serialVersionUID = 299519402146695330L;
	@Id
	private String entityName;
	@Column(nullable = false)
	private Long nextKey;

	public String getEntityName() {
		return entityName;
	}

	public void setEntityName(String entityName) {
		this.entityName = entityName;
	}

	public Long getNextKey() {
		return nextKey;
	}

	public void setNextKey(Long nextKey) {
		this.nextKey = nextKey;
	}
}